package com.hdaccp.log

object Test {
  def main(args: Array[String]): Unit = {
    val url = "GET learn/list HTTP/1.0" ;

    val types  = url.split(" ")

    val a = types(1)
    val aa = a.split("/")
    val cmsType = aa(0)
    val a1 = aa(1)
   // val cmsId = a1.substring(0,a1.indexOf(".")).toLong





    println(a1.indexOf("."))
  }
}
